//
//  UILabel+EPMExtenssion.m
//  WeiBoByOC
//
//  Created by 马继鵬 on 17/3/20.
//  Copyright © 2017年 7TH. All rights reserved.
//

#import "UILabel+EPMExtenssion.h"

@implementation UILabel (EPMExtenssion)

   + (instancetype)EPM_Title:(NSString *)title textColor:(UIColor *)textColor fontSize:(CGFloat)font
    {
        UILabel* label = [self new];
        label.text = title;
        label.textColor = textColor;
        label.font = [UIFont systemFontOfSize:font];
        [label sizeToFit];
        return label;
    }
@end
